#!/bin/bash

echo "Test 1"
echo "Input 10 10"
echo "Expected output 'Component Fail' "
echo "---------------------------------"
echo "Actual Output: " 
java -jar ./Grades_v2.jar 10 10
echo "---------------------------------"
echo ""
echo "Test 2"
echo "Input 10 20"
echo "Expected output 'Component Fail' "
echo "---------------------------------"
echo "Actual Output: "
java -jar ./Grades_v2.jar 10 20
echo "---------------------------------"
echo ""
echo "Test 3"
echo "Input 20 10"
echo "Expected output 'Component Fail' "
echo "---------------------------------"
echo "Actual Output: " 
java -jar ./Grades_v2.jar 20 10
echo "---------------------------------"
echo ""
echo "Test 4"
echo "Input 35 35"
echo "Expected output 'Component Fail' "
echo "---------------------------------"
echo "Actual Output: " 
java -jar ./Grades_v2.jar 35 45
echo "---------------------------------"
echo ""
echo "Test 5"
echo "Input 40 40"
echo "Expected output 'Fail' "
echo "-----------------------"
echo "Actual Output: " 
java -jar ./Grades_v2.jar 40 40
echo "-----------------------"
echo ""
echo "Test 6"
echo "Input 60 50"
echo "Expected output 'Pass' "
echo "-----------------------"
echo "Actual Output: " 
java -jar ./Grades_v2.jar 60 50
echo "-----------------------"
echo ""
echo "Test 7"
echo "Input 60 60"
echo "Expected output 'Pass' "
echo "-----------------------"
echo "Actual Output: " 
java -jar ./Grades_v2.jar 60 60
echo "-----------------------"
echo ""
echo "Test 8"
echo "Input 80 80"
echo "Expected output 'Pass with Distinction' "
echo "----------------------------------------"
echo "Actual Output: " 
java -jar ./Grades_v2.jar 80 80
echo "----------------------------------------"
echo ""
echo "Test 9"
echo "Input 95 50"
echo "Expected output 'pass' "
echo "-----------------------"
echo "Actual Output: " 
java -jar ./Grades_v2.jar 95 50
echo "-----------------------"
echo ""
echo "Test 10"
echo "Input 100 100"
echo "Expected output 'Pass with Distinction' "
echo "----------------------------------------"
echo "Actual Output: " 
java -jar ./Grades_v2.jar 100 100
echo "----------------------------------------"
